﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Library.Classes
{
    internal class Genre
    {
        private int _id = 0;
        private string _genreName = "Без жанра";

        public int Id { get => _id; set => _id = value; }
        public string GenreName { get => _genreName; set => _genreName = value; }

        public Genre(int id, string genre)
        {
            Id = id;
            GenreName = genre;
        }
        public override string ToString()
        {
            return GenreName;
        }
    }
}
